from physics.vector.array.v4 import Vector4Array

def boosted(*args):
    if len(args) == 0:
        raise ValueError("boosted() takes at least two arguments")

    args = list(args)

    v4a = args.pop(0)

    tmp = Vector4Array(v4a.x[:], v4a.y[:], v4a.z[:], v4a.t[:])
    tmp.boost(*args)

    return tmp



            
